@(tipoForm: play.data.Form[Tipo],warning: Boolean)

@import helper._

@main("Tipo") {
	
	<table>
	<td>
	@form(routes.Tipi.tipi()) {
   			<button type="submit" class="btn btn-info btn-large"><i class="icon-arrow-left"></i> Tipi</button>
   	}
	</td>
	<td>
	<p style="-webkit-text-stroke: #000000 1px; font-size: 39px; color:#3ADF00">Nuovo Tipo</p>
    </td>
    </table>
    
    @if(warning==true){
    	<div class="alert">
  			<button type="button" class="close" data-dismiss="alert">&times;</button>
  			<strong>Attenzione!</strong> Classifica già esistente!
		</div>
    }
    
    <div style="background: rgba(100,100,50,0.3);">
    	<form action="/tipi" method="POST" class="form-horizontal" >
    	
    		<br>
    	
    		<dl class=" error" id="etichetta_field">
    		<label class="control-label" for="inputTettoBudget">Etichetta*</label>
 			<div class="control-group info">
    			<div class="controls">
      				<input type="text" id="etichetta" name="etichetta" value="" placeholder="ad es. s.r.l." title="Max 60 caratteri">
    			</div>
  			</div>
  			</dl>
  			
  			
  			<div class="controls">
       			<button type="submit" class="btn btn-primary">Crea</button> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*Campo obbligatorio
       		</div>
       		
       		<br>
    	</form>
    </div>
    
}
